package com.yh.spring.mybatis.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yh.spring.mybatis.dao.UserMapper;
import com.yh.spring.mybatis.model.User;
import com.yh.spring.mybatis.service.IUserService;
@Service("IUserService")
public class UserServiceImpl implements IUserService {
	@Autowired
	private UserMapper userMapper;

	@Override
	public User findUser(User user) {
		
		return userMapper.findUser(user);
	}

	

}
